package com.xqboss.apps.vo.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel("用户身份-权限-扳手转增")
public class UserIdentityPermWrenchPresenterVo {
    @ApiModelProperty("热豆转赠id")
    private Long id;

    @ApiModelProperty("身份id")
    @NotNull(message = "身份id不能为空！")
    private Long identityId;


    @ApiModelProperty("是否开放")
    @NotNull(message = "是否开放不能为空！")
    private Integer isOpen;


    @ApiModelProperty("服务费费率")
//    @NotNull(message = "服务费费率不能为空！")
//    @Range(max = 100L)
    private Integer feeRate;


    @ApiModelProperty("每日最大次数")
//    @NotNull(message = "服每日最大次数不能为空！")
    private Integer maxDailyTimes;


    @ApiModelProperty("单笔最小数量")
//    @NotNull(message = "单笔最小数量不能为空！")
//    @Range
    private BigDecimal minSingleAmount;


    @ApiModelProperty("单笔最大数量")
//    @NotNull(message = "单笔最大数量不能为空！")
//    @Range
    private BigDecimal maxSingleAmount;
}
